package cn.siriusbot.siriuspro.admin.dao;

import cn.siriusbot.siriuspro.admin.entity.Plugins;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface PluginsMapper extends BaseMapper<Plugins> {


    @Select("select * from `plugins` where `package_name` = #{package_name}")
    Plugins queryByPackageName(@Param("package_name") String packageName);
}
